<template>
  <div>
    <el-menu :default-active="activeIndex" mode="horizontal" @select="handleSelect" background-color="#ffffff" text-color="#000000" active-text-color="#ffd04b" style="border: 0">
      <el-menu-item disabled>
        <img src="../../../assets/img/logo/logo_041.png" alt="LOGO" class="logo">
      </el-menu-item>
      <slot></slot>
    </el-menu>
  </div>
</template>

<script>
export default {
  name: "NavMenu",
  data() {
    return {
      activeIndex: '1'
    };
  },
  methods: {
    handleSelect(key, keyPath) {
      console.log(key, keyPath);
    }
  }
}
</script>

<style scoped>
@import "../../../assets/css/apply-system/components/navmenu.css";
</style>
